//
//  TablesAppDelegate.h
//  Tables
//
//  Created by mathias Muller on 8/20/08.
//  Copyright __MyCompanyName__ 2008. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Challenge.h"
#import "ChallengeConfiguration.h"
#import "GameController.h"
#import "ResultController.h"

@interface TablesAppDelegate : NSObject <UIApplicationDelegate, UINavigationControllerDelegate, UITabBarDelegate> {
	
	IBOutlet UIWindow *window;
	IBOutlet UINavigationController *navigationController;
	IBOutlet UIViewController *rootViewController;
	IBOutlet GameController *gameController;
	IBOutlet ResultController *resultController;
	IBOutlet UIView *gameView;

	Challenge * newChallenge;
	
}



@property (nonatomic, retain) UIWindow *window;
@property (nonatomic, retain) UINavigationController *navigationController;
@property (nonatomic, retain) UIViewController *rootViewController;
@property (nonatomic, retain) UIViewController *gameController;
@property (nonatomic, retain) UIViewController *resultController;
@property (nonatomic, retain) UIView *gameView;



@property (nonatomic, retain) Challenge * newChallenge;

-(IBAction)startEasyGame:(id)sender;
-(IBAction)startMedGame:(id)sender;
-(IBAction)startHardGame:(id)sender;
-(IBAction)displayHome:(id)sender;
- (void) displayResult:(NSNotification*)notification;
@end

